Optimal. Leaf size=85 \[ \frac {b x \left (a+b \sinh ^{-1}(c x)\right )}{c d^2 \sqrt {1+c^2 x^2}}-\frac {\left (a+b \sinh ^{-1}(c x)\right )^2}{2 c^2 d^2 \left (1+c^2 x^2\right )}-\frac {b^2 \log \left (1+c^2 x^2\right )}{2 c^2 d^2} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.07, antiderivative size = 85, normalized size of antiderivative = 1.00, number of steps
used = 3, number of rules used = 3, integrand size = 24, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.125, Rules used = {5798, 5787,
266} \begin {gather*} \frac {b x \left (a+b \sinh ^{-1}(c x)\right )}{c d^2 \sqrt {c^2 x^2+1}}-\frac {\left (a+b \sinh ^{-1}(c x)\right )^2}{2 c^2 d^2 \left (c^2 x^2+1\right )}-\frac {b^2 \log \left (c^2 x^2+1\right )}{2 c^2 d^2} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 266
Rule 5787
Rule 5798
Rubi steps
\begin {align*} \int \frac {x \left (a+b \sinh ^{-1}(c x)\right )^2}{\left (d+c^2 d x^2\right )^2} \, dx &=-\frac {\left (a+b \sinh ^{-1}(c x)\right )^2}{2 c^2 d^2 \left (1+c^2 x^2\right )}+\frac {b \int \frac {a+b \sinh ^{-1}(c x)}{\left (1+c^2 x^2\right )^{3/2}} \, dx}{c d^2}\\ &=\frac {b x \left (a+b \sinh ^{-1}(c x)\right )}{c d^2 \sqrt {1+c^2 x^2}}-\frac {\left (a+b \sinh ^{-1}(c x)\right )^2}{2 c^2 d^2 \left (1+c^2 x^2\right )}-\frac {b^2 \int \frac {x}{1+c^2 x^2} \, dx}{d^2}\\ &=\frac {b x \left (a+b \sinh ^{-1}(c x)\right )}{c d^2 \sqrt {1+c^2 x^2}}-\frac {\left (a+b \sinh ^{-1}(c x)\right )^2}{2 c^2 d^2 \left (1+c^2 x^2\right )}-\frac {b^2 \log \left (1+c^2 x^2\right )}{2 c^2 d^2}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.12, size = 145, normalized size = 1.71 \begin {gather*} -\frac {a^2}{2 c^2 d^2 \left (1+c^2 x^2\right )}+\frac {a b x}{c d^2 \sqrt {1+c^2 x^2}}+\frac {b \left (-a+b c x \sqrt {1+c^2 x^2}\right ) \sinh ^{-1}(c x)}{c^2 d^2 \left (1+c^2 x^2\right )}-\frac {b^2 \sinh ^{-1}(c x)^2}{2 c^2 d^2 \left (1+c^2 x^2\right )}-\frac {b^2 \log \left (1+c^2 x^2\right )}{2 c^2 d^2} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [B] Leaf count of result is larger than twice the leaf count of optimal. \(205\) vs.
\(2(79)=158\).
time = 3.42, size = 206, normalized size = 2.42
method | result | size |
derivativedivides | \(\frac {-\frac {a^{2}}{2 d^{2} \left (c^{2} x^{2}+1\right )}+\frac {2 b^{2} \arcsinh \left (c x \right )}{d^{2}}+\frac {b^{2} \arcsinh \left (c x \right ) c x}{d^{2} \sqrt {c^{2} x^{2}+1}}-\frac {b^{2} \arcsinh \left (c x \right ) c^{2} x^{2}}{d^{2} \left (c^{2} x^{2}+1\right )}-\frac {b^{2} \arcsinh \left (c x \right )^{2}}{2 d^{2} \left (c^{2} x^{2}+1\right )}-\frac {b^{2} \arcsinh \left (c x \right )}{d^{2} \left (c^{2} x^{2}+1\right )}-\frac {b^{2} \ln \left (1+\left (c x +\sqrt {c^{2} x^{2}+1}\right )^{2}\right )}{d^{2}}+\frac {2 a b \left (-\frac {\arcsinh \left (c x \right )}{2 \left (c^{2} x^{2}+1\right )}+\frac {c x}{2 \sqrt {c^{2} x^{2}+1}}\right )}{d^{2}}}{c^{2}}\) | \(206\) |
default | \(\frac {-\frac {a^{2}}{2 d^{2} \left (c^{2} x^{2}+1\right )}+\frac {2 b^{2} \arcsinh \left (c x \right )}{d^{2}}+\frac {b^{2} \arcsinh \left (c x \right ) c x}{d^{2} \sqrt {c^{2} x^{2}+1}}-\frac {b^{2} \arcsinh \left (c x \right ) c^{2} x^{2}}{d^{2} \left (c^{2} x^{2}+1\right )}-\frac {b^{2} \arcsinh \left (c x \right )^{2}}{2 d^{2} \left (c^{2} x^{2}+1\right )}-\frac {b^{2} \arcsinh \left (c x \right )}{d^{2} \left (c^{2} x^{2}+1\right )}-\frac {b^{2} \ln \left (1+\left (c x +\sqrt {c^{2} x^{2}+1}\right )^{2}\right )}{d^{2}}+\frac {2 a b \left (-\frac {\arcsinh \left (c x \right )}{2 \left (c^{2} x^{2}+1\right )}+\frac {c x}{2 \sqrt {c^{2} x^{2}+1}}\right )}{d^{2}}}{c^{2}}\) | \(206\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Failed to integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [B] Leaf count of result is larger than twice the leaf count of optimal. 185 vs.
\(2 (79) = 158\).
time = 0.38, size = 185, normalized size = 2.18 \begin {gather*} \frac {2 \, a b c^{2} x^{2} + 2 \, \sqrt {c^{2} x^{2} + 1} a b c x - b^{2} \log \left (c x + \sqrt {c^{2} x^{2} + 1}\right )^{2} - a^{2} + 2 \, a b - {\left (b^{2} c^{2} x^{2} + b^{2}\right )} \log \left (c^{2} x^{2} + 1\right ) + 2 \, {\left (a b c^{2} x^{2} + \sqrt {c^{2} x^{2} + 1} b^{2} c x\right )} \log \left (c x + \sqrt {c^{2} x^{2} + 1}\right ) + 2 \, {\left (a b c^{2} x^{2} + a b\right )} \log \left (-c x + \sqrt {c^{2} x^{2} + 1}\right )}{2 \, {\left (c^{4} d^{2} x^{2} + c^{2} d^{2}\right )}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \frac {\int \frac {a^{2} x}{c^{4} x^{4} + 2 c^{2} x^{2} + 1}\, dx + \int \frac {b^{2} x \operatorname {asinh}^{2}{\left (c x \right )}}{c^{4} x^{4} + 2 c^{2} x^{2} + 1}\, dx + \int \frac {2 a b x \operatorname {asinh}{\left (c x \right )}}{c^{4} x^{4} + 2 c^{2} x^{2} + 1}\, dx}{d^{2}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [F]
time = 0.00, size = -1, normalized size = -0.01 \begin {gather*} \int \frac {x\,{\left (a+b\,\mathrm {asinh}\left (c\,x\right )\right )}^2}{{\left (d\,c^2\,x^2+d\right )}^2} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________